package com.zjhd.sealcutting.service;

import com.zjhd.sealcutting.domain.CreativeTask;
import com.zjhd.sealcutting.param.CreativeTaskSearchQuery;
import com.zjhd.sealcutting.utils.response.ResponseResult;
import com.zjhd.sealcutting.vo.SearchResult;

import java.util.List;

/**
 * TODO  创作任务
 *
 * @author wangchao
 * @version 1.0
 * @date 2020/11/26 15:49
 */
public interface CreativeTaskService {

    /** 分页查询创作任务
     * TODO
     * @author wangchao
     * @date 2020/11/26 15:55
     * @param
     * @return
     */
    SearchResult queryCreativeTaskParamlist(CreativeTaskSearchQuery param)throws Exception;


    /**
     * TODO 新增创作任务
     * @author wangchao
     * @date 2020/11/26 15:54
     * @param
     * @return
     */
    ResponseResult insertCreativeTask(CreativeTask creativeTask)throws Exception;

    /**
     * TODO 查询创作任务详情详情
     * @author wangchao
     * @date 2020/11/26 15:58
     * @param
     * @return
     */
    ResponseResult queryByIdDetail(Integer id)throws Exception;

    /**
     * TODO  投稿任务
     * @author wangchao
     * @date 2020/11/26 16:00
     * @param
     * @return
     */
    ResponseResult contributionTask(Integer id,String workId)throws Exception;

    /**
     * TODO  修改创作任务
     * @author wangchao
     * @date 2020/12/14 10:34
     * @param
     * @return
     */
    ResponseResult updateCreativeTask(CreativeTask creativeTask)throws Exception;

    /**
     * TODO 查询作品任务所关联的所有展览
     * @author wangchao
     * @date 2020/12/29 14:24
     * @param
     * @return
     */
    List<CreativeTask> queryAllExhibition()throws Exception;
}
